#include<bits/stdc++.h>
using namespace std;

bool serchVal(vector<int>::iterator beg,vector<int>::iterator end,int val)
{
    while (beg!=end)
    {
        if(*(beg++)==val)
        return 1;        
    }
    return 0;
    
}